﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Manager.General;

namespace Manager.Tools.Host
{
    /// <summary>
    /// Host application user interface form
    /// </summary>
    public partial class HostForm : Form
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="HostForm"/> class.
        /// </summary>
        public HostForm()
        {
            InitializeComponent();
            FillQueryTypeComboBox();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Not yet implemented.");
        }

        /// <summary>
        /// Fills the query type combo box.
        /// </summary>
        private void FillQueryTypeComboBox()
        {
            foreach (RecordTypes type in Enum.GetValues(typeof(RecordTypes)))
            {
                queryTypeComboBox.Items.Add(type);
            }
        }
    }
}
